package device;

import environment.data.BaseEnvironmentData;
import environment.object.BaseEnvironmentObject;

import java.util.Date;
import java.util.List;


public abstract class BaseDevice implements Runnable {

    private Long id;
    private String name;
    private Boolean status;
    private Integer workStatus;
    private BaseEnvironmentObject environmentObject;
    private List<BaseEnvironmentData> listEnvironmentData;

    public BaseDevice(Long id, String name, BaseEnvironmentObject object){
        this.id = id;
        this.name = name;
        this.environmentObject = object;
    };

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }

    public BaseEnvironmentObject getEnvironmentObject() {
        return environmentObject;
    }

    public void setEnvironmentObject(BaseEnvironmentObject environmentObject) {
        this.environmentObject = environmentObject;
    }

    public List<BaseEnvironmentData> getListEnvironmentData() {
        return listEnvironmentData;
    }

    public void setListEnvironmentData(List<BaseEnvironmentData> listEnvironmentData) {
        this.listEnvironmentData = listEnvironmentData;
    }
}
